package com.macro.mall.service;

import java.util.Date;
import java.util.Map;

/**
 * 仪表盘统计Service
 * Created by macro on 2023/6/15.
 */
public interface DashboardService {

    /**
     * 获取仪表盘综合统计数据
     */
    Map<String, Object> getStatistics();

    /**
     * 获取订单图表数据
     */
    Map<String, Object> getOrderChart(Date startDate, Date endDate);
    
    /**
     * 刷新统计数据缓存
     */
    void refreshStatistics();
} 